import matplotlib.pyplot as pl
x = [num for num in range(4,23)];
print x
#print x
y = [0.2695,0.2438,0.1846,0.1633,0.2273,0.1964,0.0743,0.0549,0.0486,0.0238,0.0497,0.0584,0.0863,0.0487,0.2834,0.0792,0.1123,0.1003,0.2517];
pl.plot(x,y)
pl.title('Feature Weight Comparison')
pl.ylabel('weight')
pl.xlabel('Feature number')
pl.ylim(0,+0.30)
pl.plot([4, 22], [0.15,0.15], '--', color='green', label='Luck')
pl.show()

    